package com.oss.entity.oss;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oss.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author chengqiang
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "purchase_courses")
public class PurchaseCourses extends BaseEntity {
    // ID
    @TableId(value = "id")
    private String id;
    // 学员ID
    private String studentID;
    // 购课类型(字典值)
    private String type;
    // 购课日期
    private LocalDate purchaseDate;
    // 消费金额
    private BigDecimal consumeAmout;
    // 重心币份额
    private BigDecimal coreCoin;
    // 备注
    private String remark;

}
